package com.java.business;

import cn.hutool.core.date.DateUtil;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author jl
 * Created on 2020/10/5
 */
@ComponentScan(basePackages = {"com.java.business","com.java.common.config"})
@SpringBootApplication
@EnableDiscoveryClient
@Slf4j
public class BusinessApplication {

    public static void main(String[] args) {
        SpringApplication.run(BusinessApplication.class, args);
        log.info("business启动成功 " + DateUtil.now());
    }
}
